home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem batch file to set required environ vars and run demo bkup.exe
- cls
- echo If you do not have all demo files for LSAM in this subdirectory,
- echo hit CTL-C or CTL-BREAK and move them here (to keep things simple).
- echo When you are ready, restart this batch file.
- pause
- cls
- rem NOTICE - If for some reason you have scattered these files,
- rem insert 'd:\path' in environment vars below with demo
- rem path information (i.e. where you dumped the demo files).
- rem They should look similar to the following:
- rem set sample=d:\path\sample.bin
- rem set bkup=d:\path\sampleb.bin
- rem set lsamrtl=d:\path\lsam.rtl
- rem set lsamixalloc=3
- set input=sample.bin
- set output=sampleb.bin
- set lsamrtl=lsam.rtl
- set lsamixalloc=3
- set
- echo Note - environment set for bkup.exe demo
- pause
- cls
- del bkup.dat >nul
- del bkup.i00 >nul
- rem
- rem command-line format:
- rem program name, env.var->input parm file, env.var->output parm file
- rem
- bkup input output
- pause
- cls
- echo About to reset environment to previous setting
- pause
- set input=
- set output=
- set lsamrtl=
- set lsamixalloc=
- set
- echo Environment reset. End of demo. Suggest inspecting input and output
- echo files w/Norton utilities or some other dump utility to see reorganized
- echo output index and data.
- pause
- cls